Make our stack noexec
authorMatthias Clasen <mclasen@redhat.com>
Tue, 4 Jan 2022 12:51:56 +0000 (07:51 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 4 Jan 2022 12:51:56 +0000 (07:51 -0500)
commit46509b6dd28c58ae8dd7e2c02a82a3ccb2751e88
tree34e213d6c92f08179d96b98e48aae3a0014ff8df
parentedd57004d35d4dc58e43f839c9f7eddb37613b5c
Make our stack noexec

The change to use ld and objcopy for resources
had some side-effects: it leaked a few symbols
and made our stack executable. We don't want that.

Use -z nonexecstack and --strip-all to avoid this.

Fixes: #4598
gtk/meson.build